﻿<%@ Page Title="Reservar Restaurante" Language="C#"  MasterPageFile="~/Presentacion/Template.Master" AutoEventWireup="true" CodeBehind="API_reservar_ReservarRestaurante.aspx.cs" Inherits="UricaoWeb.Presentacion.API_reservar_ReservarRestaurante" %>


<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="TituloModulo">
    <div class="reserva"><h2>RESERVACION</h2></div>
</asp:Content>

<asp:Content runat="server" ID="Content2" ContentPlaceHolderID="OpcionesModulo">
   <div id='cssmenu'>
        <ul>
           <li class='has-sub'><a href="API_reservar_ConsultarReserva.aspx"><span>Consultar Reserva</span></a>
           </li>
            <li class='has-sub'><a href="API_reservar_ModificarReserva.aspx"><span>Modificar Reserva</span></a>
           </li>
           <li class='has-sub'><a href="API_reservar_RegistrarCliente.aspx"><span>Reservar Habitacion</span></a>
           </li>
            <li class='has-sub'><a href="API_reservar_ReservarServicios.aspx"><span>Reservar Servicios</span></a>
           </li>
        </ul>
    </div>
    <!--<a href="http://localhost:11510/Presentacion/API_reservar_ConsultarReserva.aspx" target="_self" style="text-align:center;" class="button1r">Consultar Reserva</a>
            <a href="http://localhost:11510/Presentacion/API_reservar_ModificarReserva.aspx" target="_self" style="text-align:center;" class="button1r">Modificar Reserva </a>
            <a href="http://localhost:11510/Presentacion/API_reservar_RegistrarCliente.aspx" target="_self" style="text-align:center;" class="button1r">Reservar Habitacion</a>
            <a href="http://localhost:11510/Presentacion/API_reservar_ReservarServicios.aspx" target="_self" style="text-align:center;" class="button1r">Reservar Servicios</a>-->
</asp:Content>
<asp:Content runat="server" ID="Content3" ContentPlaceHolderID="ContenidoDelModulo">
    <form id="form1" runat="server">
    <h2>Reservar Restaurante</h2>
			<p class="color1">&nbsp;</p>

            <div class="marker">
				<div class="wrapper">
					<p class="pad_bot2">
                        Codigo de Reserva:
                        <asp:TextBox ID="tbCodigoReserva" runat="server" class="inputPersonalizado"></asp:TextBox>
&nbsp;&nbsp;
                        <asp:Button ID="BbVerificar" runat="server" Text="Verificar" class="botonCualquiera" OnClick="BbVerificar_Click"/>
&nbsp;&nbsp;&nbsp;&nbsp; 
                    </div>
                </div>
            <div class="marker">
                <div class="wrapper">
                    <p class="pad_bot2">Cliente:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="tbCliente" runat="server" class="inputPersonalizado" ReadOnly="true" width="300"></asp:TextBox>
                        &nbsp;
                </div>
             </div>
             <div class="marker">
                <div class="wrapper">   
				    <p class="pad_bot2">
                        Fecha:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
                        
                        <asp:TextBox ID="fechaTour" runat="server" class="inputPersonalizado" type="date" ></asp:TextBox>
				  </div>
			</div>  
            <br />
            <div class="marker">
				<div class="wrapper">
					<p class="pad_bot2">Numero de Personas:&nbsp;
                        <asp:TextBox ID="tbCantidadPersonas" runat="server" class="inputPersonalizado" type="number" min="0" max= "30" ></asp:TextBox>
                    <p class="pad_bot2">&nbsp;</p>
				</div>
			</div>

		    <div class="marker">
                <div class="wrapper">
                    <p class="pad_bot2">Restaurante:   &nbsp;    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                    <asp:DropDownList id="DropDownList1" style="border-style: solid; border-width: 1px" type="text"  runat="server" class="comboPersonalizado" DataSourceID="ObjectDataSource1" DataTextField="NombreRestaurante" DataValueField="IdRestaurante">
                   
                        </asp:DropDownList>
                    &nbsp; 
                        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="ConsultarRestaurantes" TypeName="UricaoWeb.LogicaDeNegocios.Reservas.LogicaReservas"></asp:ObjectDataSource>
                        &nbsp; 
                </div>
            </div>
            
			<div class="wrapper" style="text-align: center;">
			    <asp:Button class="botonContinuar" ID="BRegresar" runat="server" Text="Regresar" OnClick="BRegresar_Click" OnClientClick="return confirm('¿Está seguro que desea regresar a la página principal?')" />&nbsp;&nbsp;&nbsp;
                <asp:Button class="botonRegresar" ID="BAceptar" runat="server" Text="Aceptar" OnClick="Button2_Click" OnClientClick="return confirm('¿Desea confirmar su operación?')" />
			</div>
            <br />
            
    </form>
</asp:Content>